From 712c3d8b1f119402d08d91f2933d8db2cc9070fc Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 22 Mar 2014 15:07:12 +0100 Subject: [PATCH] - updated to 2.24.23 --- crossmingw32-gtk+2.spec | 6 ++++-- gtk+2-format.patch | 11 +++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 gtk+2-format.patch diff --git a/crossmingw32-gtk+2.spec b/crossmingw32-gtk+2.spec index 5ad6a76..2ff9a00 100644 --- a/crossmingw32-gtk+2.spec +++ b/crossmingw32-gtk+2.spec @@ -1,12 +1,13 @@ Summary: The GIMP Toolkit - MinGW32 cross version Summary(pl.UTF-8): GIMP Toolkit - wersja skrośna dla MinGW32 Name: crossmingw32-gtk+2 -Version: 2.24.22 +Version: 2.24.23 Release: 1 License: LGPL v2+ Group: Development/Libraries Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.24/gtk+-%{version}.tar.xz -# Source0-md5: 5fbbfb7637bbd571a572a2dae0e736d2 +# Source0-md5: 0be39fbed4ca125645175cd6e22f2548 +Patch0: gtk+2-format.patch URL: http://www.gtk.org/ BuildRequires: autoconf >= 2.62 BuildRequires: automake >= 1:1.7 @@ -96,6 +97,7 @@ Biblioteki DLL GTK+ dla Windows. %prep %setup -q -n gtk+-%{version} +%patch0 -p1 %build export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig diff --git a/gtk+2-format.patch b/gtk+2-format.patch new file mode 100644 index 0000000..15106f7 --- /dev/null +++ b/gtk+2-format.patch @@ -0,0 +1,11 @@ +--- gtk+-2.24.23/modules/engines/pixbuf/pixbuf-rc-style.c.orig 2014-03-06 05:56:42.000000000 +0100 ++++ gtk+-2.24.23/modules/engines/pixbuf/pixbuf-rc-style.c 2014-03-22 09:12:02.069004277 +0100 +@@ -669,7 +669,7 @@ + const char *message) + { + theme_clear_pixbuf (theme_pb); +- g_scanner_warn (scanner, message); ++ g_scanner_warn (scanner, "%s", message); + } + + static guint -- 2.44.0